﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DB_NH.DB_Model.ZJCQ
{
    /// <summary>
    /// 备选的专家抽取详细记录
    /// </summary>
    [Serializable]
    public class ZJ_extract_detail_bak : Entity
    {
        #region 数据表名称
        public static readonly string TableName = "zj_extract_detail_bak";
        #endregion

        #region 数据表字段结构
        public struct Columns
        {
            /// <summary>
            /// 所属备选抽取记录ID
            /// </summary>
            public static readonly string extract_bak_id = @"extract_bak_id";

            /// <summary>
            /// 所属专家ID
            /// </summary>
            public static readonly string expert_id = @"expert_id";

            /// <summary>
            /// 是否选中
            /// </summary>
            public static readonly string is_selected = @"is_selected";
            
            /// <summary>
            /// 非选中提示内容，当选择自动抽取时，在信息提示中显示的专家不能来的信息
            /// </summary>
            public static readonly string un_selected_msg = @"un_selected_msg";

            /// <summary>
            /// 排序标志
            /// </summary>
            public static readonly string order_flag = @"order_flag";

            /// <summary>
            /// 抽取专家新的手机
            /// </summary>
            public static readonly string exp_new_mobile = @"exp_new_mobile";

            /// <summary>
            /// 抽取专家新的专业
            /// </summary>
            public static readonly string exp_new_profession = @"exp_new_profession";
        }
        #endregion

        #region 字段
        /// <summary>
        /// 所属备选抽取记录
        /// </summary>
        public virtual ZJCQ.ZJ_extract_bak extract_bak { get; set; }

        /// <summary>
        /// 专家ID
        /// </summary>
        public virtual ZJK.ZJ_expert expert { get; set; }

        /// <summary>
        /// 抽取专家新的手机
        /// </summary>
        public virtual string exp_new_mobile { get; set; }

        /// <summary>
        /// 抽取专家新的专业
        /// </summary>
        public virtual string exp_new_profession { get; set; }

        /// <summary>
        /// 抽取专家新的分类列表
        /// </summary>
        public virtual IList<DB_NH.DB_Model.ZJK.ZJ_category> exp_new_categorys { get; set; }

        /// <summary>
        /// 是否选中
        /// </summary>
        public virtual int is_selected { get; set; }

        /// <summary>
        /// 非选中提示内容，当选择自动抽取时，在信息提示中显示的专家不能来的信息
        /// </summary>
        public virtual string un_selected_msg { get; set; }

        /// <summary>
        /// 排序标志
        /// </summary>
        public virtual int order_flag { get; set; }
        #endregion

        public ZJ_extract_detail_bak()
        {
            exp_new_categorys = new List<DB_NH.DB_Model.ZJK.ZJ_category>();
        }
    }
}
